package com.burst.reptile.modular.zp.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 用户关注列表
 * </p>
 *
 * @author wujin
 * @since 2020-06-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("zp_follow")
public class ZpFollow implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主机ID
     */
    @TableId(value = "follow_id", type = IdType.AUTO)
    private Long followId;

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 关注的用户ID
     */
    private Long userToFollowId;

    /**
     * 关注时间
     */
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    
    /**
     * 头像
     */
    @TableField(exist = false)
    private String avatar;
    
    /**
     * 昵称
     */
    @TableField(exist = false)
    private String nickName;
    
    /**
     * 发布数量
     */
    @TableField(exist = false)
    private String releaseNum;
    
    /**
     * 关注数量
     */
    @TableField(exist = false)
    private String followNum;
    
    /**
     * 粉丝数量
     */
    @TableField(exist = false)
    private String fansNum;
    
    /**
     * 点赞数量
     */
    @TableField(exist = false)
    private String giveNum;
    
    /**
     * 标签
     */
    @TableField(exist = false)
    private String label;

    /**
     * 是否关注
     */
    @TableField(exist = false)
    private Boolean foll;

}
